package com.dz.Incubator.config;


/**
 * 自定义业务层异常处理
 * @author
 */

public class CustomException extends RuntimeException {

    private static final long serialVersionUID = -6643854165631067322L;

    private String code;
    private String msg;

    public CustomException() {
        super();
    }
    public CustomException(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }

}
